package com.wxj.bank.module.modle.criteria;

import java.io.Serializable;

/**
 * @author shengtao
 * @Description: 子条件对象
 * @date 2019/02/01 16:20
 */
public class ChildWhere implements Serializable{

    private static final long serialVersionUID = 7319334660605300001L;

    private String field;

    private DataType dataType;

    public String FieldValue;

    private CompareType compareType;


    private JoinType joinType;

    private ChildWhere(){}

    public ChildWhere(String field, DataType dataType, String fieldValue, CompareType compareType, JoinType joinType) {
        this.field = field;
        this.dataType = dataType;
        this.FieldValue = fieldValue;
        this.compareType = compareType;
        this.joinType = joinType;
    }

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public CompareType getCompareType() {
        return compareType;
    }

    public void setCompareType(CompareType compareType) {
        this.compareType = compareType;
    }

    public DataType getDataType() {
        return dataType;
    }

    public void setDataType(DataType dataType) {
        this.dataType = dataType;
    }

    public JoinType getJoinType() {
        return joinType;
    }

    public void setJoinType(JoinType joinType) {
        this.joinType = joinType;
    }

    public String getFieldValue() {
        return FieldValue;
    }

    public void setFieldValue(String fieldValue) {
        FieldValue = fieldValue;
    }
}
